/*
 * @Author: xiaosihan
 * @Date: 2025-01-15 08:55:33
 * @Last Modified by: xiaosihan
 * @Last Modified time: 2025-01-15 14:55:03
 */
import { observable, configure } from 'mobx';
configure({ enforceActions: 'never' });

// 图片预览
const previewImgModalStore = observable(
  {
    url: '',
    setUrl(url: string) {
      this.url = url;
    },
    createTime: '',
    setCreateTime(createTime: string) {
      this.createTime = createTime;
    },
    title: '',
    setTitle(title: string) {
      this.title = title;
    },
  },
  {},
  { deep: false },
);
export default previewImgModalStore;
